find constants a and b for a rational function with given vertical and horizontal asymptotes